<!--[ include file="admin_header_menu.htm" ]--><div style="clear:both"></div>
<div class="admin_content">
<a class="button add" href="<!--[pnmodurl modname='iCarrent' type='admin' func='form' ctrl='Shop']-->"><!--[pnml name='_ICARRENT_ADMIN_LIST_SHOP_ADD']--></a>
<a class="button" href="#"><!--[pnml name='_ICARRENT_ADMIN_LIST_SHOP']--></a>
<div ><!--[innopager  show=page
                				img_prev="modules/iCarrent/pnimages/back.png"
												img_next="modules/iCarrent/pnimages/next.png"
												rowcount=$pager.numitems
												limit=$pager.itemsperpage
												posvar=startnum
												shift=0
												request_uri=$smarty.server.REQUEST_URI

			]--></div>
<table class="list_category">
  <tr>
    <th width="30%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_SHOP_PROVINCE']--></th>
    <th width="40%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_SHOP_NAME']--></th>
    <th width="10%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_SHOP_CAR']--></th>
    <th width="11%" bgcolor="#C7D9EB"><!--[pnml name='_ICARRENT_ADMIN_LIST_SHOP_OPERATION']--></th>
  </tr>
<!--[if $objectArray]-->
  <!--[foreach from=$objectArray item=item]-->
  <!--[assign var='shop_id' value=$item.id]-->
  <tr bgcolor="<!--[cycle values="#FFFFFF,#E8EFF7"]-->">
    <td><!--[$item.province_name]--></td>
    <td><a target="_blank" href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Topics' shop_id=$shop_id ]-->" ><!--[$item.name]--></a></td>
    <td align="center"><!--[count_from_db table="icarrent_topics" group_by="tpc_shop_id" where="tpc_shop_id = '$shop_id'"]--></td>
    <td align="center">
      <a target="_blank" href="<!--[pnmodurl modname='iCarrent' type='admin' func='form' ctrl='Shop' id=$item.id]-->" title="<!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_EDIT']-->"><img src="modules/iCarrent/pnimages/pencil.png" /></a>&nbsp;&nbsp;
      <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='delete' ctrl='Shop' id=$item.id]-->" title="<!--[pnml name='_ICARRENT_ADMIN_LIST_TOPICS_DEL']-->"  onclick="return confirm('Are you sure you want to delete?')"><img src="modules/iCarrent/pnimages/delete.png" /></a>
    </td>
  </tr>
  <!--[/foreach]-->
<!--[else]-->
<tr>
  <td colspan="4" align="center">
    <!--[pnml name='_ICARRENT_ADMIN_EMPTY']-->

  </td>
</tr>
<!--[/if]-->
</table>
				<!--[innopager  show=page
                								img_prev="modules/iCarrent/pnimages/back.png"
												img_next="modules/iCarrent/pnimages/next.png"
												rowcount=$pager.numitems
												limit=$pager.itemsperpage
												posvar=startnum
												shift=0
												request_uri=$smarty.server.REQUEST_URI

				]-->
</div>